Platform Explorer / Nuxeo Platform 2021.47

Contribution org.nuxeo.template.service.defaultContrib--outputFormat

This contribution is part of XML component org.nuxeo.template.service.defaultContrib inside nuxeo-template-rendering-core-2021.47.4.jar /OSGI-INF/templateprocessor-contrib.xml

Documentation

Adds outputFormat for the following mime type

  • pdf
  • odt
  • doc
  • docx

Extension Point

Extension point outputFormat of component TemplateProcessorComponent.

Registration Order

0
The registration order represents the order in which this contribution was registered on its target extention point. This will impact the override/merge behaviour when it is implemented on the target service, and is useful for proper customization of existing contributions.
You can influence this order by adding "require" tags in the containing component declaration, to make sure it is resolved after another component (see "Resolution Order" on components).

Contributed Items

  • <outputFormat id="pdf" label="PDF" mimetype="application/pdf"/>
  • <outputFormat id="odt" label="ODT" mimetype="application/vnd.oasis.opendocument.text"/>
  • <outputFormat id="doc" label="DOC" mimetype="application/msword"/>
  • <outputFormat id="docx" label="DOCX" mimetype="application/vnd.openxmlformats-officedocument.wordprocessingml.document"/>

XML Source

<extension point="outputFormat" target="org.nuxeo.template.service.TemplateProcessorComponent">

    <documentation>Adds outputFormat for the following mime type
      <ul>
        <li>pdf</li>
        <li>odt</li>
        <li>doc</li>
        <li>docx</li>
      </ul>
    </documentation>

    <outputFormat id="pdf" label="PDF" mimetype="application/pdf"/>
    <outputFormat id="odt" label="ODT" mimetype="application/vnd.oasis.opendocument.text"/>
    <outputFormat id="doc" label="DOC" mimetype="application/msword"/>
    <outputFormat id="docx" label="DOCX" mimetype="application/vnd.openxmlformats-officedocument.wordprocessingml.document"/>
  </extension>